package org.yy.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {


    Boolean register(String email, String password, String code);

    Boolean isRegistered(String email);

    String login(String email, String password, HttpServletRequest request, HttpServletResponse response);

    String info(String token);


}
